package com.wei.duowan.bbs.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 作者：赵若位
 * 时间：2019/9/10 15:24
 * 联系方式：1070138445
 * 功能：
 */
public class CommentBean
{
    @SerializedName("info")
    private InfoBean info;

    @SerializedName("comment")
    private List<CommentDetailBean> comment;

    public InfoBean getInfo()
    {
        return info;
    }

    public void setInfo(InfoBean info)
    {
        this.info = info;
    }

    public List<CommentDetailBean> getComment()
    {
        return comment;
    }

    public void setComment(List<CommentDetailBean> comment)
    {
        this.comment = comment;
    }

    public static class InfoBean
    {
        /**
         * exist : 1
         * total_num : 1
         * com_num : 1
         * total_all_num : 1
         * content_key : v5Jy4
         * PHPSESSIONID : fb9pflc2nshbdshnpf7b5al943
         * total_page : 1
         */

        private int exist;
        private int total_num;
        private int com_num;
        private String total_all_num;
        private String content_key;
        private String PHPSESSIONID;
        private int total_page;

        public int getExist()
        {
            return exist;
        }

        public void setExist(int exist)
        {
            this.exist = exist;
        }

        public int getTotal_num()
        {
            return total_num;
        }

        public void setTotal_num(int total_num)
        {
            this.total_num = total_num;
        }

        public int getCom_num()
        {
            return com_num;
        }

        public void setCom_num(int com_num)
        {
            this.com_num = com_num;
        }

        public String getTotal_all_num()
        {
            return total_all_num;
        }

        public void setTotal_all_num(String total_all_num)
        {
            this.total_all_num = total_all_num;
        }

        public String getContent_key()
        {
            return content_key;
        }

        public void setContent_key(String content_key)
        {
            this.content_key = content_key;
        }

        public String getPHPSESSIONID()
        {
            return PHPSESSIONID;
        }

        public void setPHPSESSIONID(String PHPSESSIONID)
        {
            this.PHPSESSIONID = PHPSESSIONID;
        }

        public int getTotal_page()
        {
            return total_page;
        }

        public void setTotal_page(int total_page)
        {
            this.total_page = total_page;
        }
    }


    public static class CommentDetailBean
    {
        /**
         * comment_id : a85d7480c862e060be48b4fe6e0f6229
         * username : 小飞子
         * bbs_uid : 69322972
         * user_img_center : http://avatar.bbs.duowan.com/069/32/29/72_avatar_middle.jpg
         * oppose : 0
         * vote : 0
         * contents : 背景音乐 能发过来吗
         * created : 1568094400
         * comment_reply_total : 0
         * comment_parent_id : 0
         * user_url : http://bbs.duowan.com/space-uid-69322972.html
         */

        private String comment_id;
        private String username;
        private String bbs_uid;
        private String user_img_center;
        private String oppose;
        private String vote;
        private String contents;
        private long created;
        private String comment_reply_total;
        private String comment_parent_id;
        private String user_url;

        public String getComment_id()
        {
            return comment_id;
        }

        public void setComment_id(String comment_id)
        {
            this.comment_id = comment_id;
        }

        public String getUsername()
        {
            return username;
        }

        public void setUsername(String username)
        {
            this.username = username;
        }

        public String getBbs_uid()
        {
            return bbs_uid;
        }

        public void setBbs_uid(String bbs_uid)
        {
            this.bbs_uid = bbs_uid;
        }

        public String getUser_img_center()
        {
            return user_img_center;
        }

        public void setUser_img_center(String user_img_center)
        {
            this.user_img_center = user_img_center;
        }

        public String getOppose()
        {
            return oppose;
        }

        public void setOppose(String oppose)
        {
            this.oppose = oppose;
        }

        public String getVote()
        {
            return vote;
        }

        public void setVote(String vote)
        {
            this.vote = vote;
        }

        public String getContents()
        {
            return contents;
        }

        public void setContents(String contents)
        {
            this.contents = contents;
        }

        public long getCreated()
        {
            return created;
        }

        public void setCreated(long created)
        {
            this.created = created;
        }

        public String getComment_reply_total()
        {
            return comment_reply_total;
        }

        public void setComment_reply_total(String comment_reply_total)
        {
            this.comment_reply_total = comment_reply_total;
        }

        public String getComment_parent_id()
        {
            return comment_parent_id;
        }

        public void setComment_parent_id(String comment_parent_id)
        {
            this.comment_parent_id = comment_parent_id;
        }

        public String getUser_url()
        {
            return user_url;
        }

        public void setUser_url(String user_url)
        {
            this.user_url = user_url;
        }
    }
}
